<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Greendizer_XMLi_Group</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Greendizer_XMLi_Group</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Represents a group in XMLi</p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright (c) 2009-2010, Greendizer S.A - All rights reserved.</li>
				<li><span class="field">license:</span> Greendizer/License.txt</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_XMLi---Group.php.html">/XMLi/Group.php</a> (line <span class="field"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a26">26</a></span>)
		</p>
		
				
		<pre><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html">Greendizer_XMLi_ExtensibleElement</a>
   |
   --Greendizer_XMLi_Group</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																								<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Greendizer_XMLi_Group</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addLine" title="details" class="method-name">addLine</a>
											(<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>&nbsp;<span class="var-name">$line</span>, <span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>&nbsp;<span class="var-name">$lines</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getDescription" title="details" class="method-name">getDescription</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>
										<a href="#getInvoice" title="details" class="method-name">getInvoice</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Array</span>
										<a href="#getLines" title="details" class="method-name">getLines</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getName" title="details" class="method-name">getName</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Array</span>
										<a href="#getNamespaces" title="details" class="method-name">getNamespaces</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setDescription" title="details" class="method-name">setDescription</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>
										<a href="#setInvoice" title="details" class="method-name">setInvoice</a>
											(<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>&nbsp;<span class="var-name">$invoice</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setLines" title="details" class="method-name">setLines</a>
											(<span class="var-type">Array</span>&nbsp;<span class="var-name">$lines</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setName" title="details" class="method-name">setName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">int</span>
										<a href="#total" title="details" class="method-name">total</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html">Greendizer_XMLi_ExtensibleElement</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#var$elements">Greendizer_XMLi_ExtensibleElement::$elements</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#var$namespaces">Greendizer_XMLi_ExtensibleElement::$namespaces</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a57">57</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Greendizer_XMLi_Group</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#method__construct">Greendizer_XMLi_ExtensibleElement::__construct()</a></dt>
					</dl>
			
	</div>
<a name="methodaddLine" id="addLine"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">addLine</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a150">150</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add line to the group</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addLine
		</span>
					(<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>&nbsp;<span class="var-name">$line</span>, <span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>&nbsp;<span class="var-name">$lines</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>
				<span class="var-name">$lines</span>			</li>
					<li>
				<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Line.html">Greendizer_XMLi_Line</a></span>
				<span class="var-name">$line</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetDescription" id="getDescription"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getDescription</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a110">110</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the group description</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getDescription
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetInvoice" id="getInvoice"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getInvoice</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a68">68</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an invoice from the group</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>
		<span class="method-name">
			getInvoice
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLines" id="getLines"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getLines</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a130">130</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the group lines</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			getLines
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetName" id="getName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getName</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a89">89</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the group name</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetNamespaces" id="getNamespaces"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getNamespaces</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a161">161</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get all namespaces</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			getNamespaces
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodgetNamespaces">Greendizer_XMLi_ExtensibleElement::getNamespaces()</a></dt>
						<dd>Get all namespaces</dd>
					</dl>
			
	</div>
<a name="methodsetDescription" id="setDescription"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setDescription</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a120">120</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the group description</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDescription
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetInvoice" id="setInvoice"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setInvoice</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a79">79</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set invoice to the group</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>
		<span class="method-name">
			setInvoice
		</span>
					(<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>&nbsp;<span class="var-name">$invoice</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Greendizer_XMLi/Greendizer_XMLi_Invoice.html">Greendizer_XMLi_Invoice</a></span>
				<span class="var-name">$invoice</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetLines" id="setLines"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setLines</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a140">140</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the group name</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setLines
		</span>
					(<span class="var-type">Array</span>&nbsp;<span class="var-name">$lines</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Array</span>
				<span class="var-name">$lines</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetName" id="setName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setName</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a100">100</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the group name</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtotal" id="total"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">total</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a179">179</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the total</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			total
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__toString</span> (line <span class="line-number"><a href="../__filesource/fsource_Greendizer_XMLi__XMLiGroup.php.html#a193">193</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">String representing the group</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#method__toString">Greendizer_XMLi_ExtensibleElement::__toString()</a></dt>
						<dd>String representation of an element</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html">Greendizer_XMLi_ExtensibleElement</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#method__construct">Greendizer_XMLi_ExtensibleElement::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodcontainsElement">Greendizer_XMLi_ExtensibleElement::containsElement()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodcontainsElementsOfNamespace">Greendizer_XMLi_ExtensibleElement::containsElementsOfNamespace()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodgetCustomElement">Greendizer_XMLi_ExtensibleElement::getCustomElement()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodgetNamespaces">Greendizer_XMLi_ExtensibleElement::getNamespaces()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#methodsetCustomElement">Greendizer_XMLi_ExtensibleElement::setCustomElement()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../Greendizer_XMLi/Greendizer_XMLi_ExtensibleElement.html#method__toString">Greendizer_XMLi_ExtensibleElement::__toString()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Tue, 07 Feb 2012 12:10:13 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>